package wifiunion.com.notice;

import com.google.gson.reflect.TypeToken;

import java.util.HashMap;

/**
 * Created by Administrator on 2016/11/23.
 */

public class NoticeRecordModel implements NoticeRecordContact.Model {
    @Override
    public void loadData(String url, HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpGetRequest_Asyn(url, params,
                callBack, null);
    }

    public void getTZDXDetail(String url, HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpGetRequest_Asyn(url, params,
                callBack, new TypeToken<String>() {
                }.getType());
    }
}
